package com.qfedu.yanglao20.entity.evaluate;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Date;
import java.io.Serializable;

/**
 * (Evaluate)实体类
 *
 * @author makejava
 * @since 2023-05-04 21:39:26
 */
@ApiModel("评价表实体类")
@Data
@ResponseBody
public class Evaluate implements Serializable {
    private static final long serialVersionUID = -61439604043787970L;
    /**
     * 评价表
     */
    @ApiModelProperty("评价表")
    private Integer id;
    /**
     * 评分
     */
    @ApiModelProperty("评分")
    private String score;
    /**
     * 评价时间
     */
    @ApiModelProperty("评价时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 评价配置id
     */
    @ApiModelProperty("评价配置id")
    private Integer configId;
    /**
     * 评价内容
     */
    @ApiModelProperty("评价内容")
    private String text;
    /**
     * 图片路径
     */
    @ApiModelProperty("图片路径")
    private String imgUrl;
    /**
     * 评价配置
     */
    @ApiModelProperty("评价配置")
    private String configList;
    @ApiModelProperty("订单表id")
    private Integer orderId;
}

